

package MIKHAILOV;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.paint.LinearGradient;
import javafx.scene.paint.Stop;
import javafx.scene.paint.Color;
import javafx.scene.Group;
import javafx.scene.shape.Polyline;
import javafx.scene.effect.BoxBlur;
import javafx.scene.shape.Line;
import javafx.scene.shape.Arc;
import javafx.scene.effect.Reflection;
import javafx.scene.transform.Shear;
import javafx.scene.shape.Polygon;

  Stage {
    title: "Some shit"
    width: 500
    height: 500
    scene: Scene {
      fill: LinearGradient {
      startX: 0.0, startY: 0.0, endX: 0.0, endY: 0.8, proportional: true
      stops: [
        Stop {offset: 0.0 color: Color.YELLOW},
        Stop {offset: 1.0 color: Color.LIGHTBLUE} 
      ]
      }
      content: [
            Group {
                content: [
           
          Polyline {
            points:[
                    150.0,200.0,
                    300.0,200.0,
                    300.0,240.0,
                    200.0,240.0,
                    150.0,200.0
                    ]
                    fill: Color.BROWN
                    effect:BoxBlur { width: 7 height: 7 iterations: 5 };

              }
          Line {
                 startX: 250  startY: 200
                 endX: 250  endY: 100
                 effect:BoxBlur { width: 3 height: 3 iterations: 5 }
            }
          Arc {
                centerX: 240  centerY: 150
                radiusX: 80  radiusY: 45
                startAngle: 90  length: 180
                fill: Color.AQUA
                effect:BoxBlur { width: 6 height: 6 iterations: 5 }

                }
          Polyline {
            points:[
                    260.0,100.0,
                    290.0,180.0,
                    260.0,190.0

                    ]
                    fill: Color.AQUA
                    effect:BoxBlur { width: 7 height: 7 iterations: 5 }
              }
              ]
              effect:  Reflection {fraction: 0.9  topOpacity: 0.5 topOffset: 2.5};
              transforms: Shear { x: -0.15 y: 0 }
              }
            Group {
                content: [
                Arc {
                    centerX: 500  centerY: 240
                    radiusX: 60  radiusY: 60
                    startAngle: 90  length: 180
                    fill: Color.ORANGE
                    effect:BoxBlur { width: 7 height: 7 iterations: 5 }
                    }
                Polygon {
                    points:[
                            420,240,
                            435,200,
                            380,210
                           ]
                    fill: Color.ORANGE
                    effect:BoxBlur { width: 7 height: 7 iterations: 5 }
                     }
                Polygon {
                    points:[
                            450,190,
                            490,160,
                            420,165
                           ]
                    fill: Color.ORANGE
                    effect:BoxBlur { width: 7 height: 7 iterations: 5 }
                     }
                    ]
                 effect:  Reflection {fraction: 0.9  topOpacity: 0.5 topOffset: 2.5};
                  }
              ]
              }
              }
                    


                    
                
	  
  
  
  

  
